/*
 * LoggerConsola.cpp
 *
 *  Created on: 24/05/2013
 *      Author: Juliansci
 */

#include "LoggerConsola.h"
#include "../../constantes.h"
#include <string>
#include <sstream>

using namespace std;

LoggerConsola::LoggerConsola() {
	this->nivelLog = NIVEL_LOG;

}

void LoggerConsola::imprimir(stringstream* ss, int nivel) {
	if(nivel >= this->nivelLog){
		string data = ss->str();
		cout << data << endl ;
		ss->str("");
	}
}



